package com.weiyu.bultrasound.core.dao;


import com.weiyu.bultrasound.core.model.entity.Users;

import java.util.List;


public interface UsersMapper {

    int deleteById(Long id);

    int insert(Users record);

    Users getById(Long id);

    int updateById(Users record);

    List<Users> getList(Users record);

    /**
     * @description 根据用户名或手机号查找用户
     * @Param: [userName]
     * @Return: com.weiyu.bultrasound.core.model.entity.Users
     * @Author: abner chow
     * @Date: 2019/8/15 10:42
     */
    Users getByNameOrMobile(String userName);

}